package com.dp.mallchat.common.chat.domain.vo.req.msg;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: dupeng
 * @CreateTime: 2024-06-28  17:40
 * @Description: 图片消息请求
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "图片消息")
public class ImgMsgDTO extends BaseFileReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("宽度（像素）")
    @NotNull
    private Integer width;

    @ApiModelProperty("高度（像素）")
    @NotNull
    private Integer height;
}
